package com.k.kpp.configfile;

import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @author k
 */
public class ConfigFileModifyController {

    private Lock lock = new ReentrantLock();

    public Map<String,Object> modifyXml(){
        lock.lock();
        try {
            // modify file
        } catch (Exception e){
            e.printStackTrace();
        } finally {
            lock.unlock();
        }
        return null;
    }
}
